@import "../../../static/css/li_mixins.scss";
$li-hot: #fe2021;
$li-gray: #989898;
.cr {
  color: $li-hot;
}

.cg {
  color: $li-gray;
}
.coupon {
  margin-bottom: 5px;
  margin-top: 5px;
  margin-left: 8px;
  margin-right: 8px;
  height: 100px;
  @include flex-start;
  $li-radius: 8px;

  .l {
    background-color: #fff;
    width: 25%;
    border-right: 1px dashed #f5f5f5;
    border-radius: $li-radius;
    position: relative;
    padding-bottom: 8px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    padding: 20px 0;

    .lbl {
      position: absolute;
      left: 0;
      top: 0;
      width: 70px;
      height: 20px;
      font-size: 13px;
      color: #fff;
      &.bgr {
        background-color: #fe8f81;
      }
      &.bgg {
        background-color: $li-gray;
      }

      border-top-left-radius: $li-radius;
      border-bottom-right-radius: $li-radius;
      text-align: center;
      line-height: 20px;
    }
    .v {
      font-weight: bold;
      .sb {
        font-size: 12px;
      }
      .vl {
        font-size: 25px;
      }
    }

    .m {
      font-size: 12px;
    }
  }

  .r {
    flex: 1;
    background-color: #fff;
    border-radius: $li-radius;
    overflow: hidden;
    @include flex-start;
    .rl {
      display: flex;
      flex: 2;
      flex-direction: column;
      padding: 20px 0;
      justify-content: space-between;
      .t {
        font-weight: bold;
        text-indent: 3px;
      }
      .d {
        font-size: 12px;
        text-indent: 3px;
      }
    }
    .rr {
      flex: 1;
      @include flex-center;
      position: relative;
      .btn {
        color: $li-hot;
        border: 1px solid $li-hot;
        padding: 3px 14px;
        font-size: 13px;
        border-radius: 12px;
      }
      .oc {
        position: absolute;
        right: -8px;
        top: -8px;
        width: 70px;
        height: 70px;
        border-radius: 50%;
        color: $li-gray;
        border: 1px solid $li-gray;
        display: flex;
        align-items: center;
        justify-content: center;
        transform: rotate(-45deg);
        .ic {
          width: 60px;
          height: 60px;
          border-radius: 50%;
          border: 1px dashed $li-gray;
          display: flex;
          align-items: center;
          justify-content: center;
          font-size: 13px;
        }
      }
    }
  }
}
